package mm.test;

import java.util.Enumeration;

import javax.servlet.FilterConfig;
import javax.servlet.ServletContext;

public class MockFilterConfig implements FilterConfig {

	private ServletContext context;
	private String name;

	public MockFilterConfig(ServletContext context, String name) {
		super();
		this.context=context;
		this.name=name;
	}

	public String getFilterName() {
		return name;
	}

	public String getInitParameter(String arg0) {
		throw new UnsupportedOperationException();
	}

	public Enumeration getInitParameterNames() {
		throw new UnsupportedOperationException();
	}

	public ServletContext getServletContext() {
		return context;
	}

}
